const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false, //关闭eslint校验
  configureWebpack: {
    //关闭 webpack 的性能提示
    performance: {
        hints:false
    }
  },
  devServer: {
      proxy: {
          '/api': {
              target: 'http://localhost:8080',//后端接口地址
              changeOrigin: true,//是否允许跨越
              pathRewrite: {
                  '^/api': ''//重写,
              }
          }
      }
  }
})
